package cn.tedu.restaurant.service;

import cn.tedu.restaurant.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JachinLin
 * @since 2020-10-07
 */
public interface CommentService extends IService<Comment> {
    void insertComment(String nickname,String content,Integer id,String username);
    List<Comment> listComment(Integer id);
}
